import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import './assets/style/index.scss'
import VideoPlayer from 'vue-video-player'
require('video.js/dist/video-js.css')
require('vue-video-player/src/custom-theme.css')

Vue.use(VideoPlayer)

Vue.use(ElementUI)

Vue.config.productionTip = false

Vue.mixin({
  methods: {
    toWhere(path) {
      this.$router.push({ name: path })
    }
  }
})

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
